from django import forms
from .models import AlertLog

class AlertLogForm(forms.ModelForm):
    class Meta:
        model = AlertLog
        fields = ['notes', 'status']
        widgets = {
            'notes': forms.Textarea(attrs={'rows': 3}),
            'status': forms.Select(choices=AlertLog.STATUS_CHOICES)
        }